<div id="content">
    <table id="tablepays">
        <tr class="titretable">
            <td>Combat</td>
            <td>Modifier</td>
            <td>Supprimer</td>
            
        </tr>
        <?php
        
{
    echo "<tr><td>" . "jj";
}
          
        ?>
        
    </table>
    <form id="validate_form" action="index.php?route=reunion&action=ajoutercombat"><img src="./images/ajouter.png"/></a>
    <div id="dialog-confirm" title="Confirmation de la suppression" style="display:none;">
        <p>
            <span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>
            Etes-vous sûr de vouloir supprimer cet élément ?
        </p>
    </div>
    <?php
    $IdReunion = $_GET['IdReunion'];
    $oPDO = new PdoReunion();

    $reunion = $oPDO->readOne($IdReunion);

    include("./PDO/PdoLieu.php"); //On inclut les fonctions PDO (create / update etc...)
    include("./class/Lieu.php"); //On inclut les fonctions PDO (create / update etc...)

    $lieu = new PdoLieu();
    $lieu = $lieu->readAll();
    
    echo "<form id='formulaire' action='index.php?route=reunion&action=traitement_modif' method='post'>";

    echo "<label>Nom</label>";
    echo "<input type='text' name='NOMREUNION' value='" . $reunion->getNomReunion() . "'/>";

    echo "<label>Date</label>";
    echo "<input type='text' name='DATEREUNION' value='". $reunion->getDateReunion() ."'/>";

    echo "<input type='hidden' name='IDREUNION' value='" . $reunion->getIdReunion() . "' />";
    echo "<label>Lieu</label>";
    echo '<select name="IDLIEU" size="1">';
  
   ?>
   
   
    <input type="submit" id="valider" />
</form>
</div>
